#ifndef __DEVMANAGE_H__
#define __DEVMANAGE_H__
#include "apphead.h"

#define DLT_ADDR_LEN     16
#define DLT_LASTT_LEN     32
typedef struct DevListDef
{
  struct DevListDef  *prev;
  struct DevListDef  *next;

  unsigned char Addr[DLT_ADDR_LEN]; 
  int AddrNum;
  unsigned char LastTime[DLT_LASTT_LEN];
}DevListDef;

extern DevListDef WapDevList;
#endif

void devm_list_init(DevListDef *l);

void devm_list_init_process(void);

DevListDef* devm_list_head_get(void);

DevListDef* devm_list_dev_find(int addr);

void set_gpio_pin(int pin,int dat);

